package com.cola.ui;

import com.cola.bean.User;

import java.io.OutputStream;
import java.sql.SQLOutput;
import java.util.ResourceBundle;
import java.util.Scanner;

/**
 * @Grup:com.cola.ui
 * @Auther:cola
 * @Data:2021/4/13-2021-04-15:45
 * @version:1.0
 */
public class BaseClass {
    protected  static Scanner input=new Scanner(System.in);
    protected static User curruser;//当前用户对象
    private static ResourceBundle r=ResourceBundle.getBundle("r");

    public  static String getString(String key){
        return r.getString(key);
    }

    public static void print(String s){
        System.out.print(s);
    }

    public static void println(String s){
        System.out.println(s);
    }
}
